@import "../../../assets/css/global";

.moneyContainer {
  .money-bg {
    width: 100%;
  }

  .content {
    position: absolute;
    width: 100%;
    top: 35px;
    padding: 0 20px;

    .card-box {
      width: 100%;
      height: 330rpx;
      background: url("https://cdn.ibrand.cc/shitang94939rr.png") no-repeat center;
      background-size: cover;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 38px 18px 20px 35px;
      .user-info {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        color: #ffffff;

        .name-box {

          .tag {
            font-size: 17px;
          }
        }

        .charge {
          width: 62px;
          height: 20px;
          border-radius: 10px;
          background: rgba(255, 255, 255, 0.3);
          font-size: 12px;
          text-align: center;
        }

      }

      .money {
        font-size: 40px;
        color: #fff;
        font-weight: 700;
      }
    }

    .title-box {
      text-align: center;

      &.point-title {
        margin-bottom: 13px;
      }
      //margin-top: 13px;

      image {
        width: 100%;
      }
      .title-line {
        height: 1px;
        width: 100%;
        background: #CCCCCC;
      }

      .title {
        position: relative;
        display: inline-block;
        top: -13px;
        font-size: 16px;
        color: #666666;
        background: #FFFFFF;
        padding: 0px 10px;
      }
    }

    .privilege-box {
      padding: 20px 10px;
      background: rgba(255, 255, 255, 1);
      box-shadow: 0px 0px 18px 0px rgba(204, 204, 204, 0.5);
      position: relative;

      .charge-list {
        position: relative;
        width: 100%;
        height: 50px;
        //border-bottom: 1px solid #E8E9E8;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        //margin-bottom: 12px;

        button {
          position: absolute;
          left: 0;
          right: 0;
          top: 0;
          bottom: 0;
          opacity: 0;
        }
        .point-left {
          display: flex;
          align-items: center;

          .charge-icon {
            width: 18px;
            height: 18px;
          }

          .point-title {
            color: #5B5B5B;
            font-size: 17px;
            margin-left: 12px;
          }
        }

        .point-arrow {
          width: 10px;
          height: 30px;
        }

      }

    }

    .point-goods-box {
      padding: 12px 10px;
      background: rgba(255, 255, 255, 1);
      box-shadow: 0px 0px 18px 0px rgba(204, 204, 204, 0.5);
      margin: 10px 0;

      .commodity-bottom {
        //height: 100%;
        font-size: 0;
        box-sizing: border-box;

        //padding-top: 15px;
        .commodity-out {
          width: 50%;
          display: inline-block;
          font-size: 12px;
          box-sizing: border-box;
          padding: 0 3px 7px 3px;

          &:nth-of-type(odd) {
            padding-left: 0;
          }

          &:nth-of-type(even) {
            padding-right: 0;
          }

          .commodity-box {
            background: #ffffff;
            overflow: hidden;
            width: 100%;
            box-sizing: border-box;
            font-size: 14px;

            .commodity-img {
              overflow: hidden;

              image {
                width: 290rpx;
                border-radius: 5px;
                //height: 310rpx;
              }
            }

            .commodity-name {
              padding: 0 5px;
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
            }

            .commodity-money {
              display: flex;
              align-items: center;
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
              height: 25px;

              .point {
                display: flex;
                align-items: center;
                flex: 1;
                font-size: 16px;
                color: #FF8D00;

                image {
                  width: 15px;
                  height: 15px;
                  margin-right: 5px;
                  margin-bottom: 2px;
                }
              }

              .money {
                font-size: 10px;
                color: #CCCCCC;
                margin-top: 2px;
              }

              .discount-tags {
                font-size: 0;
                overflow: hidden;

                .tags-item {
                  display: block;
                  float: left;
                  color: #ffffff;
                  background: #C9171D;
                  border-radius: 2px;
                  padding: 2px;
                  font-size: 12px;
                  margin: 0 0 5px 5px;
                }
              }
            }
          }
        }

        .loadingbox {
          margin-top: 10px;
          height: 40px;
          line-height: 40px;
          text-align: center;
          font-size: 14px;
        }
      }
    }

  }

}
